package com.shanghaionstar.home.model;

import com.google.gson.Gson;
import com.onstar.cn.vehicle.response.DiagnosticResponse;

import java.util.List;

/**后台返回object
 * Created by 6335yz on 2016/7/5.
 */
public class DiagnosticResponses {
    private List<DiagnosticResponse> diagnosticResponse;

    public List<DiagnosticResponse> getDiagnosticResponse() {
        return diagnosticResponse;
    }

    public void setDiagnosticResponse(List<DiagnosticResponse> diagnosticResponse) {
        this.diagnosticResponse = diagnosticResponse;
    }

    public static DiagnosticResponses loadDTDiagnosticResponses(String json) {
        DiagnosticResponses responses = new Gson().fromJson(json, DiagnosticResponses.class);
        return responses;
    }
}
